<div class="admin-content">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">运营者</strong> /
            <small>用户查找</small>
        </div>
    </div>
    <!--     <div class="am-cf am-padding">
            <a><small>用户查找</small></a>
        </div> -->
    <div class="am-g">
        <div class="am-u-sm-12 am-u-md-6">
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <a ui-sref="usercenter.useradd" class="am-btn am-btn-primary">添加用户</a>
                </div>
            </div>
        </div>

        <div class="am-u-sm-12 am-u-md-3">
            <div class="am-input-group am-input-group-sm">
                <input type="text" class="am-form-field" ng-model="id" placeholder="请输入要查询的用户">
                <span class="am-input-group-btn">
            <button class="am-btn am-btn-default" type="button" ng-click="selectbyid(id)">搜索</button>
          </span>
            </div>
        </div>
    </div>
    <table class="am-table am-table-striped am-table-hover table-main">
        <thead>
        <tr>
            <th class="table-title">运营者id</th>
            <th class="table-set">平台类型</th>
            <th class="table-title">平台id</th>
            <th class="table-type">联系方式</th>
            <th class="table-type">公众号名称</th>
            <th class="table-set">编辑</th>
        </tr>
        </thead>
        <tbody>
        <tr dir-paginate="user in operators | filter:q | itemsPerPage: 8">
            <td>{{user.uid}}</td>
            <td>{{user.plattype}}</td>
            <td>{{user.platid}}</td>
            <td>{{user.phone}}</td>
            <td>{{user.name}}</td>
            <td>
                <div class="am-btn-toolbar">
                    <!--<div class="am-btn-group am-btn-group-xs">
                        <button class="am-btn am-btn-default am-btn-xs am-text-secondary"
                                ui-sref="manager.detail({userid:user.userid})"><span
                                class="am-icon-pencil-square-o"></span> 编辑
                        </button>
                        &lt;!&ndash;<button class="am-btn am-btn-default am-btn-xs am-hide-sm-only"><span class="am-icon-copy"></span> 复制</button>&ndash;&gt;
                        <button class="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only"
                                confirmed-click="remove(user)" ng-confirm-click="确定删除这个用户 '{{user.name}}'"><span
                                class="am-icon-trash-o"></span> 删除
                        </button>
                    </div>-->
                </div>
            </td>

        </tr>
        </tbody>
    </table>
    <div class="am-cf">
        <div class="text-center">
            <dir-pagination-controls boundary-links="true" on-page-change="pageChangeHandler(newPageNumber)"
                                     template-url="tpls/pagination/dirPagination.tpl.html"></dir-pagination-controls>
        </div>
    </div>
</div>